SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 44641: "DIRECT_EXE libname option will not allow this SQL statement to be passed directly to the DBMS.." is returned when you publish a campaign

DetailsAboutRate It

SAS® Marketing Automation might write the following warning to the stored process server log when it publishes to the common data model:

WARNING: The current setting of the DIRECT_EXE libname option will not allow this SQL 
statement to be passed directly to the DBMS for processing

This behavior is triggered if you set the following macro variable in an autocall macro:

SYS_SQL_IP_SPEEDO=YES

This macro variable, in combination with the SAS option DBIDIRECTEXEC, enables SAS to pass SQL update statements to a database for execution.

The MAPublish process performs several SQL update calls. Although the macro variable SYS_SQL_IP_SPEEDO and the option DBIDIRECTEXEC are set in autocall macros, SAS ignores the SYS_SQL_IP_SPEEDO macro variable if it is set in the autocall macro. The SQL code is not passed to the database, which forces SAS to bring the data back to SAS and execute the SQL locally. Bringing the data back to SAS slows the MAPublish process and might also create deadlock situations.

To work around this problem, set the following two options in the Stored Process autoexec_usermods.sas file:

 
options dbidirectexec;
%let SYS_SQL_IP_SPEEDO=YES;


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Customer Intelligence StudioMicrosoft® Windows® for x645.3_M36.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition5.3_M36.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition5.3_M36.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition5.3_M36.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 for x645.3_M36.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 20085.3_M36.19.2 TS2M39.3 TS1M0
Microsoft Windows Server 2008 for x645.3_M36.19.2 TS2M39.3 TS1M0
Microsoft Windows XP Professional5.3_M36.19.2 TS2M39.3 TS1M0
Windows 7 Enterprise 32 bit5.3_M36.19.2 TS2M39.3 TS1M0
Windows 7 Enterprise x645.3_M36.19.2 TS2M39.3 TS1M0
Windows 7 Home Premium 32 bit5.3_M36.19.2 TS2M39.3 TS1M0
Windows 7 Home Premium x645.3_M36.19.2 TS2M39.3 TS1M0
Windows 7 Professional 32 bit5.3_M36.19.2 TS2M39.3 TS1M0
Windows 7 Professional x645.3_M36.19.2 TS2M39.3 TS1M0
Windows 7 Ultimate 32 bit5.3_M36.19.2 TS2M39.3 TS1M0
Windows 7 Ultimate x645.3_M36.19.2 TS2M39.3 TS1M0
Windows Vista5.3_M36.19.2 TS2M39.3 TS1M0
Windows Vista for x645.3_M36.19.2 TS2M39.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.